//
//  PicCollectionViewCell.swift
//  JIMWeiBo
//
//  Created by 陈恒均 on 2018/2/13.
//  Copyright © 2018年 陈恒均. All rights reserved.
//

import UIKit

class PicCollectionViewCell: UICollectionViewCell {
    
    
    //控件属性
    
    @IBOutlet weak var iconView: UIImageView!
    var picURL : NSURL?{
        didSet{
            guard let picURL = picURL else {
                return
            }
            iconView.sd_setImage(with: picURL as URL, placeholderImage: UIImage(named: "empty_picture"), options: [], completed: nil)
            
        }
    }
    
}
